FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureDefinition/FHIR Server from package vzvz.covid-vaccinations#0.5.1-beta (32 ms)

Package vzvz.covid-vaccinations
Type StructureDefinition
Id Id
FHIR Version R4
Source https://simplifier.net/resolve?scope=vzvz.covid-vaccinations@0.5.1-beta&canonical=http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-rivm-Patient
Url http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-rivm-Patient
Status draft
Date 2022-03-01T10:44:32.8672038+00:00
Name NlVzvzRivmPatient
Title nl vzvz rivm Patient
Experimental False
Description A derived profile from the nl-core-Patient resource to exchange information on patients who received a vaccination
Type Patient
Kind resource

Resources that use this resource

StructureDefinition
http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-rivm-Vaccination nl vzvz rivm Vaccination

Resources that this resource uses

StructureDefinition
http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient nl core Patient


Source

{
  "resourceType" : "StructureDefinition",
  "id" : "nl-vzvz-rivm-Patient",
  "url" : "http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-rivm-Patient",
  "name" : "NlVzvzRivmPatient",
  "title" : "nl vzvz rivm Patient",
  "status" : "draft",
  "date" : "2022-03-01T10:44:32.8672038+00:00",
  "publisher" : "VZVZ",
  "contact" : [
    {
      "name" : "VZVZ",
      "telecom" : [
        {
          "system" : "email",
          "value" : "standaardisatie@vzvz.nl"
        }
      ]
    }
  ],
  "description" : "A derived profile from the nl-core-Patient resource to exchange information on patients who received a vaccination",
  "fhirVersion" : "4.0.1",
  "kind" : "resource",
  "abstract" : false,
  "type" : "Patient",
  "baseDefinition" : "http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient",
  "derivation" : "constraint",
  "differential" : {
    "element" : [
      {
        "id" : "Patient",
        "path" : "Patient",
        "condition" : [
          "pat-1"
        ],
        "constraint" : [
          {
            "key" : "pat-1",
            "severity" : "error",
            "human" : "A patient has either a BSN identifier or a COA identifier",
            "expression" : "Patient.identifier.exists(system = 'http://fhir.nl/fhir/NamingSystem/bsn') xor Patient.identifier.exists(system = 'urn:oid:2.16.840.1.113883.2.4.3.111.6')",
            "xpath" : "(/Patient//identifier[system = 'http://fhir.nl/fhir/NamingSystem/bsn'] or /Patient//identifier[system = 'urn:oid:2.16.840.1.113883.2.4.3.111.6']) and not(/Patient//identifier[system = 'http://fhir.nl/fhir/NamingSystem/bsn'] and /Patient//identifier[system = 'urn:oid:2.16.840.1.113883.2.4.3.111.6'])",
            "source" : "http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-rivm-Patient"
          }
        ]
      },
      {
        "id" : "Patient.identifier",
        "path" : "Patient.identifier",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "pattern",
              "path" : "system"
            }
          ],
          "rules" : "open"
        },
        "constraint" : [
          {
            "key" : "ide-1",
            "severity" : "error",
            "human" : "A BSN identifier has 9 positions",
            "expression" : "where(system = 'http://fhir.nl/fhir/NamingSystem/bsn').value.toString().length() = 9 or where(system = 'urn:oid:2.16.840.1.113883.2.4.3.111.6').exists()",
            "xpath" : "string-length(//f:identifier[f:system/f:@value = 'http://fhir.nl/fhir/NamingSystem/bsn']/f:value/f:@value) = 9 or //f:identifier[f:system/f:@value = 'urn:oid:2.16.840.1.113883.2.4.3.111.6'",
            "source" : "http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-rivm-Patient"
          },
          {
            "key" : "ide-2",
            "severity" : "error",
            "human" : "A COA identifier has 10 positions",
            "expression" : "where(system = 'urn:oid:2.16.840.1.113883.2.4.3.111.6').value.toString().length() = 10 or where(system = 'http://fhir.nl/fhir/NamingSystem/bsn').exists()",
            "xpath" : "string-length(//f:identifier[f:system/f:@value = 'urn:oid:2.16.840.1.113883.2.4.3.111.6']/f:value/f:@value) = 10 //f:identifier[f:system/f:@value = 'http://fhir.nl/fhir/NamingSystem/bsn'",
            "source" : "http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-rivm-Patient"
          }
        ]
      },
      {
        "id" : "Patient.identifier:bsn",
        "path" : "Patient.identifier",
        "sliceName" : "bsn"
      },
      {
        "id" : "Patient.identifier:bsn.system",
        "path" : "Patient.identifier.system",
        "patternUri" : "http://fhir.nl/fhir/NamingSystem/bsn"
      },
      {
        "id" : "Patient.identifier:coa",
        "path" : "Patient.identifier",
        "sliceName" : "coa",
        "max" : "1"
      },
      {
        "id" : "Patient.identifier:coa.system",
        "path" : "Patient.identifier.system",
        "patternUri" : "urn:oid:2.16.840.1.113883.2.4.3.111.6"
      },
      {
        "id" : "Patient.birthDate",
        "path" : "Patient.birthDate",
        "condition" : [
          "dob-1"
        ],
        "constraint" : [
          {
            "key" : "dob-1",
            "severity" : "error",
            "human" : "BirthDate must be before today",
            "expression" : "$this < now()",
            "source" : "http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-rivm-Patient"
          }
        ]
      }
    ]
  },
  "text" : {
  }
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.